export interface LoginParams {
  username: string
  password: string
  captcha: string
  rememberMe?: boolean
}

export interface UserInfo {
  id: number
  username: string
  name: string
  email?: string
  phone?: string
  avatar?: string
  role: string
  status: number
  lastLoginTime?: string
  createdAt: string
}

export interface AuthResponse {
  token: string
  user: UserInfo
  permissions: string[]
}
